<!-- polyfills for IE11 -->
<script>
  var userAgent = window.navigator.userAgent.toLowerCase();
  if (userAgent.indexOf('msie') != -1 || userAgent.indexOf('trident') != -1) {
    var scriptElement = document.createElement('script');
    scriptElement.src = '{{ webpack_asset("js/ie11-polyfill.js") }}';
    var headElement = document.getElementsByTagName('head')[0];
    headElement.appendChild(scriptElement);
  }
</script>
